package com.mysqldemo.mappers;
import org.apache.ibatis.annotations.Param;

/**
 * @Description Mapper
 * @Author 徐大勇
 * @Version 1.8.0_131
 * @date 2023/07/06
 */
public interface TestMapper<T, P> extends BaseMapper{

	// 根据查询

	 T selectById(@Param("id")Integer id);

	// 根据更新

	 Integer updateById(@Param ("bean") T t , @Param("id")Integer id);

	// 根据删除

	 Integer deleteById(@Param("id")Integer id);

}
